package com.sunshine.feign;

import com.sunshine.feign.bean.Person;
import feign.Param;
import feign.RequestLine;

/**
 * @author WeiHong
 * @date 2018/11/15
 */
public interface IPersonClient {

    /**
     *
     * @param personId
     * @return
     */
    @RequestLine("GET /findPerson/{personId}")
    Person findById(@Param("personId") Integer personId);

}
